package com.canto;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@Import(SpringContextUtil.class)
public class CantoApplication {

    private static Logger logger = LogManager.getLogger(LogManager.ROOT_LOGGER_NAME);

    public static void main(String[] args) {
        logger.info("CantoApplication启动...");
        SpringApplication.run(CantoApplication.class, args);
        logger.info("CantoApplication结束...");
    }

}
